#ifndef KEYEVENT_H_
#define KEYEVENT_H_

#include "Event.h"

class KeyEvent : public Event
{
public:
    KeyEvent(int code);
    virtual ~KeyEvent();

    virtual GameState* visitMenuState(MenuState* menuState) const;
    virtual GameState* visitGamePlayState(GamePlayState* gamePlayState) const;

private:
    int code;
};

#endif
